/*
 * Project Name spring-boot-tools
 * File Name CmppGatewayconfig
 * Package Name com.huxiaosu.tools.cmpp.config
 * Create Time 2024/4/18
 * Create by name：liujie
 */
package com.huxiaosu.tools.cmpp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Description
 *
 * @author liujie
 * @date 2024/4/18 23:08
 */
@Data
@Component
@ConfigurationProperties(CmppGatewayConfig.PREFIX)
public class CmppGatewayConfig {

    public static final String PREFIX = "tools.cmpp-gateway";

    /** cmpp网关端口 默认 9090 */
    private int port = 9090;

    private List<CmppGatewayClient> clients;

}
